<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body style="font-family:Arial, Helvetica, sans-serif">
<h1>Over Stock Rate</h1> For Shop <?php echo $this->shop?> : <?php echo $this->ktNo?> is <?php echo $this->totalOverStock; ?>%
<br />
<br />
<table width="1000" border="1" cellspacing="0" cellpadding="10">
  <tr>
    <th scope="col">No</th>
    <th scope="col">Code</th>
    <th scope="col">Description</th>
    <th scope="col">2W Ago</th>
    <th scope="col">1W Ago</th>
    <th scope="col">Hold</th>
    <th scope="col">OverStock</th>
    <th scope="col">Act</th>
    <th scope="col">Org</th>

  </tr>
 <?php foreach($this->arrRes as $k => $v){?> 
  <tr>
    <td><?php echo $k + 1;?></td>
    <td><?php echo $v[0];?></td>
    <td><?php echo $v[1];?></td>
    <td><?php echo $v[2];?></td>
    <td><?php echo $v[3];?></td>
    <td><?php echo $v[4];?></td>
    <td><?php echo $v[5];?></td>
    <td><?php echo $v[6];?></td>
    <td><?php echo $v[7];?></td>

  </tr>
<?php }?>
</table>
</body>
</html>
